package org.springblade.modules.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.repair.entity.MaintainTemplateLocationType;
import org.springblade.modules.repair.vo.TemplateLocationTypeTreeVO;

import java.util.List;

public interface MaintainTemplateLocationTypeMapper extends BaseMapper<MaintainTemplateLocationType> {
    List<TemplateLocationTypeTreeVO> tree(@Param("tltId") Long tltId,@Param("templateIds") List<Long> templateIds);

    List<TemplateLocationTypeTreeVO> treeDesc(@Param("templateId")Long templateId,@Param("tltId") Long tltId);
}
